#ifndef XMLPARSER
#define XMLPARSER

/* Standard includes */
#include <string.h>

/* XML */
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>

xmlDocPtr xml_loaddoc(char * xmlfile);
void xml_freedoc(xmlDocPtr doc);
xmlNodePtr xml_getroot(xmlDocPtr doc, char * name);
xmlNodePtr xml_getnode(xmlNodePtr node, char * nodenames);
void * xml_readnode(xmlDocPtr doc, xmlNodePtr node, char * nodename);
void * xml_readattrib(xmlDocPtr doc, xmlNodePtr cur, char * nodename, xmlChar * attrib);

#endif
